//
//  SwitchViewController.m
//  AllLessons
//
//  Created by dengbb on 15/8/21.
//  Copyright (c) 2015年 mohekeji. All rights reserved.
//

#import "SwitchViewController.h"

@interface SwitchViewController ()

@end

@implementation SwitchViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    int orderStatus = 9;
    _statusValue.text = [NSString stringWithFormat:@"%d",orderStatus];
    
    
    switch (orderStatus) {
            
        case 1:
            
    _statusName.text = @"未出行1";
            break;
        case 2:
    _statusName.text = @"未出行2";
            break;
        case 3:
    _statusName.text = @"未出行3";
            break;
            
        case 4:
    _statusName.text = @"未出行4";
            break;
            
        case 5:
    _statusName.text = @"未出行5";
            break;
        case 6:
    _statusName.text = @"未出行6";
            break;
        case 7:
    _statusName.text = @"未出行7";
            break;
            
        case 8:
    _statusName.text = @"未出行8";
            break;
            
        case 9:
    _statusName.text = @"已出行";
            break;
        case 10:
    _statusName.text = @"已取消";
            break;
        default:
    _statusName.text = @"未知错误";
            break;
    }
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
